ul.rank-list{
    list-style:none;
}
#game{
    position:relative;
    width:100%;
    height:600px;
    background-image:url("../images/sky.png");
}
.bird{
    position:absolute;
    top:235px;
    left:50%;
    margin-left:-15px;
    width:30px;
    height:30px;
    background-image:url("../images/birds.png");
    transition:top 0.3s linear;
    /* background-color:red; */
}
.start{
    position:absolute;
    left:50%;
    margin-left:-100px;
    top:295px;
    width:200px;
    height:60px;
    line-height:60px;
    text-align:center;
    /* background-color:red; */
    font-weight:bolder;
    transition:all 0.3s linear;
    cursor:pointer;
}
.start.start-white{
    color:#fff;
    font-size:24px;
}
.start.start-blue{
    color:#09f;
    font-size:36px;
}
.score{
    position:absolute;
    left:50%;
    /* css3中使元素居中 */
    transform:translateX(-50%);
    color:#fff;
    font-size:24px;
    font-weight:bolder;
    display:none;
}
.mask{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:#000;
    opacity:0.7;
    display:none;
    z-index:2;
}
.end{
    position:absolute;
    top:70px;
    left:50%;
    /* z-index:2; */
    color:rgb(209, 25, 25);
    text-align:center;
    transform:translateX(-50%);
    display:none;
    z-index:3;
}
.end .over{
    font-size:35px;
    font-weight:bolder;
    color:red;
}
.end .result,.end .final-score{
    color:#ff0;
    font-size:20px;
    font-weight:bold;
    padding-top:15px;
}
.rank-list{
    margin-top:20px;
    color:#09f;
    text-align:left;
}
.rank-list li.rank-item{
    height:30px;
    line-height:30px;
    font-size:13px;
    /* background-color:red; */
    padding:0 10px;   
    margin-bottom:10px;
}
.rank-item .rank-degree{
    display:inline-block;
    width:14px;
    height:14px;
    line-height:14px;
    text-align:center;
    color:#fff;
    background-color:#8eb9f5;
    font-size:12px;
    margin-right:10px;
}
.rank-item .rank-degree.first{
    background-color:#f54545;
}
.rank-item .rank-degree.second{
    background-color:#ff8547;
}
.rank-item .rank-degree.third{
    background-color:#ffac38;
}
.rank-item .rank-score{
    display:inline-block;
    width:30px;
}
.end .restart{
    color:#09f;
    font-size:18px;
    font-weight:bolder;
    cursor:pointer;
}
.pipe{
    position:absolute;
    /* left:150px; */
    width:52px;
    height:150px;
    z-index:1;
}
.pipe.pipe-up{
    top:0;
    background-image:url('../images/pipe2.png');
    background-position-y:bottom;
}
.pipe.pipe-bottom{
    bottom:0;
    background-image:url('../images/pipe1.png');
    background-position-y:top;
}